//
//  ICCommonItem.m
//  ICome
//
//  Created by ENN on 16/3/7.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICCommonItem.h"

@implementation ICCommonItem


+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title destVcClass:(Class)destVcClass parameter:(id)parameter
{
    ICCommonItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    item.destVcClass = destVcClass;
    item.parameter = parameter;
    return item;
}

+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title detailTitle:(NSString *)detail destVcClass:(Class)destVcClass parameter:(Class)parameter{
    ICCommonItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    item.detail = detail;
    item.destVcClass = destVcClass;
    item.parameter = parameter;
    return item;
}

@end
